﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YiYiTong.Rocket.Entity;

namespace YiYiTong.Rocket.Model
{
    public class MyJingjiaListModel
    {
        public int allrows { get; set; }
        public int allpages { get; set; }
        public List<JingjiaModel> list { get; set; }
    }

    public class JingjiaListModel
    {
        public int allrows { get; set; }
        public int allpages { get; set; }
        public List<JingjiaModel> list { get; set; }
    }

    public class JingjiaModel
    {
        public long jingjia_id { get; set; }
        public string jingjia_name { get; set; }
        public byte include_tax { get; set; }
        public decimal base_price { get; set; }
        public decimal step_price { get; set; }
        public decimal step_price_max { get; set; }
        public decimal liuzhi_price { get; set; }
        public decimal baozheng_price { get; set; }
        //0 已设置 1竞价中  2竞价结束
        public byte jingjia_satus { get; set; }
        public int jingjia_deal_status { get; set; }
        public int stay_miniutes { get; set; }
        public string jingjia_type { get; set; }
        public DateTime begin_time { get; set; }
        public DateTime? real_end_time { get; set; } 
        public DateTime? last_time { get; set; } 
        public decimal last_price { get; set; }
        public long last_uid { get; set; }
        public string last_username { get; set; }
        public string img_url { get; set; }
        public byte is_del { get; set; }
        public int baoming_counts { get; set; }
        public int chujia_counts { get; set; }
        public int weiguan_counts { get; set; }
        public string remark { get; set; }

        //=0 没出价  0已出价
        public decimal my_price { get; set; }
        //0未报名  1 已报名
        public byte is_baoming { get; set; }
        public long baoming_id { get; set; }

        //0未成交  1 已成交
        public byte is_hit { get; set; }
        //出价状态 0 已报价 1被超越 2 已成交 10已付款
        public byte submit_status { get; set; }

        public long submit_id { get; set; }
        public DateTime? submit_time { get; set; } 

        //业务订单号
        public long order_master_id { get; set; }
        //业务订单号
        public string order_no { get; set; }

        /// <summary>
        /// 竞价配置ID
        /// </summary>
        public long jingjia_config_id { get; set; }
    }
}
